﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace MVCCoreFramework.Controllers
{

    [Authorize]
    [Route("[controller]/[action]")]
    public class TablesController : Controller
    {
        public IActionResult Simple()
        {
            return View();
        }

        public IActionResult Data()
        {
            return View();
        }
    }
}